<? header("content-Type: text/html; charset=UTF-8");
date_default_timezone_set("PRC");
?>

<?php
if( isset($_REQUEST['userid']))
	$user_id = $_REQUEST['userid'];
else
	$user_id = "";
	
	$order_time =date("Y-m-d H:i:s",time());
	$order_date =date("Y-m-d",time());

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>会员中心-微信转账</title>
    

<script type="text/javascript">
 	var ctx="";
 	var offsettime = '-14400000';
 	var current = parseInt('1535649586755',10) || 0;
 	var MEMBER_DIR="ogmember";
 	var OG_MEMBER_DIR="ogmember";
 	
 	
	/**
	 * 弹出框
	 * @param fmt
	 * @param date
	 * @returns
	 */
	function openWin(url, open, iWidth, iHeight) {
	    //获得窗口的垂直位置
	    var iTop = (window.screen.availHeight - 30 - iHeight) / 2;
	    //获得窗口的水平位置
	    window.open(url, open, 'height=' + iHeight + ',,innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=300,status=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=0,titlebar=no');
	}

//刷新图片重新加载
function refreshImg(comp) {
    if($(comp).hasClass('lodingpic')) return false;
    var compValue = $(comp).attr("value");
    var imgSrc = $("#"+compValue).attr("src");

    $("#"+compValue).attr("src",imgSrc);
    
    $(comp).addClass('lodingpic');
    
    setTimeout(function(){
        $(comp).removeClass('lodingpic');
    },700)
}
</script>

    <link rel="shortcut icon" href="images/favicon.ico" type="image/vnd.microsoft.icon">


	<script type="text/javascript" src="js/jquery-1.8.2.js"></script>
	<script type="text/javascript" src="js/jquery.pager.js"></script>
	<script type="text/javascript" src="js/jquery-ui.js" ></script>
	<link rel="stylesheet" type="text/css" href="css/page.css">
	<link rel="stylesheet" type="text/css"	href="css/jquery-ui-1.9.1.custom.css">
	<script type="text/javascript" src="js/WdatePicker.js"></script>
	
		<link href="css/WdatePicker.css" rel="stylesheet" type="text/css">

    <script type="text/javascript" src="./js/common.js"></script>
    
    <script type="text/javascript" src="./js/data.cn.js"></script>
    <link rel="stylesheet" href="./css/yhck.css" type="text/css">
    <link rel="stylesheet" href="./css/stan.css" type="text/css">
    <link rel="stylesheet" href="./css/bank.css" type="text/css">
    <link rel="stylesheet" href="./css/offlineDeposit.css" type="text/css">

 
    
	
	<head>

    <link type="text/css" href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet"/>
    <script type="text/javascript" src="js/data.cn.js"></script>
    <link rel="stylesheet" href="css/yhck.css" type="text/css"/>
    <link rel="stylesheet" href="css/stan.css" type="text/css"/>
    <link rel="stylesheet" href="css/bank.css" type="text/css"/>
    <link rel="stylesheet" href="css/offlineDeposit.css" type="text/css"/>



    <script type="text/javascript">
        var ctx = "";


        $(document).ready(function () {
            var d = new Date();
            var years = d.getFullYear();
            var month = add_zero(d.getMonth() + 1);
            var days = add_zero(d.getDate());
            var hours = add_zero(d.getHours());
            var minutes = add_zero(d.getMinutes());
            var seconds = add_zero(d.getSeconds());

            dispTime()
//						add_orderTime(hours, minutes);
            var timerID = setInterval("dispTime()", 1000);
            var url = "";
        });

        function add_zero(temp) {
            if (temp < 10) return "0" + temp;
            else return temp;
        }
        
        function	add_orderTime(var_hour, var_min)
        {
        	$("#Time_Hour_id").val(var_hour);
					$("#Time_Minute_id").val(var_min); 
        }
        /**
         *    即時時間顯示
         **/
        function dispTime() {
            var d = new Date();
            var utc = d.getTime() + (d.getTimezoneOffset() * 60000);

            var F = new Date( utc + (3600000 * -4 ));

            var Y = F.getFullYear();

            var Mh = F.getMonth() + 1;
            if(Mh > 12) Mh = 01;
            if(Mh < 10) Mh = '0'+Mh;

            var D = F.getDate()  < 10 ? '0'+F.getDate():F.getDate();
            var H = F.getHours() < 10 ? '0'+F.getHours():F.getHours();
            var M = F.getMinutes() < 10 ? '0'+F.getMinutes():F.getMinutes();
            var S = F.getSeconds() < 10 ? '0'+F.getSeconds():F.getSeconds();
            $('#EST_reciprocal').html(Y+'/'+Mh+'/'+D+' - '+H+':'+M+':'+S);
        }
    </script>


<style>
		body{
	text-align:left;
	margin-left:50px;
	margin-right:auto;
	}
	
	.clearfix:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
	.clearfix {display: inline-block}
	.payico{
		position: relative;
		top: 5px;
		left: -2px;
	}
	#Dcard {
		font-size: 13px;
		position: absolute;
		right: 280px;
		top:218px;
	}
	a.pagelink {
		color: #004892;
		font-weight: bold;
		text-decoration: underline;
	}
	.span table td{
		line-height: 1.5em;
		color: #666;
		padding: 6px 8px;
	}
	.span table td img{
		max-width:705px
	}
	.span table {
		width: 100%;
		border-collapse: collapse;
		border-spacing: 0;
		text-align: left;
		font-size: 12px;
		color: #FFF;
	}
	.column, .columns{
		width:100%;
	}

	#DepositMethod {
		height: auto !important;
		min-height: 200px;
		width: 100%;
		margin-top: -30px;
	}
	#DepositMethod h1 {
		border-bottom: medium none;
		font-size: 26px;
		/* margin-top: 20px; */
		padding: 0;
		text-align: center;
	}
	#DepositMethod li img {
		border: 3px solid #e1e1e0;
		height: 59px;
		background: white;
		width: 132px;
	}
	#DepositMethod li.active img{
		border-color: #696866;
	}
	.selected-payment-logo {
		border-color: #696866 !important;
	}
	#DepositMethod li {
		display: inline;
		float: left;
		margin-bottom: 13px;
		margin-right: 10px;
	}
	#DepositMethod {
		height: auto !important;
		min-height: 200px;
		width: 100%;
	}
	#cashierdeposit-logo-container{
		margin-left: -22px;
	}
/*	#cashierdeposit-logo-container > ul{
		width: 770px;
		margin-left: -35px;
		margin-top: 8px;
	}*/
	/*
   存款页面
*/
	#accountInfo{
		margin-left: 14px;
	}
	#accountInfo .info-txt{
		font-weight:bold;
		margin-bottom: 4px;
	}
	#accountInfo p{
		height: 24px;
		line-height: 24px;
		display: block;
	}
	#accountInfo p.info{
		margin-left: 40px;
	}
	#depositContent{
		width: 766px;
		margin-left: -4px;
		min-height: 602px;
		position: relative;
		top: -36px;
	}
	#titleTab{
		height: 40px;
		margin-top: 15px;
		width: 768px;
		margin-left: -41px;
	}
	#titleTabC{
		margin: 0 auto;
		/* background: #C05045; */
		width: 130px;
		line-height: 36px;
		text-align: center;
		font-size: 23px;
		/* border: 2px solid black; */
		height: 36px;
	}
	.listh1{
		background: #FFFFFF;
		color: #f66f15;
		max-width: 162px;
		width: auto;
		cursor: pointer;
		height: 36px;
		line-height: 36px;
		font-size: 18px;
		border-radius: 22px;
		margin-top: 10px;
		padding: 0 6px 0 20px;
		box-shadow: 1px 3px 0 #ccc;
		min-width: 50px;
		text-align: left;
	}
	.listh1:hover{
		box-shadow: none;
	}
	#showlist{
		width: 728px;
		margin: 10px auto;
	}
	.showlist{
		width: 728px;
		margin: 10px auto;
	}
	#_content{
		width: 100%;
		min-height: 590px;
	}

</style>


</head>
<!--
      style="overflow-y: hidden "
-->
<body  style="overflow-x:hidden; ">
<input type="hidden" id="isCheckTestMember" name="isCheckTestMember" value="1">
<div id="wrap" style="position: relative;">
    <div class="top">
        <div id="MALogo"></div>
        <div id="MATime">
            <div id="timepic"></div>
            <span class="time">美东时间：<span id="EST_reciprocal">2018/08/30 - 13:25:53</span></span>
        </div>
        <div id="MABank"> </div>
    </div>
    <!-- //* Body -->
    <div id="MAContent" class="main_mem clear_fix">
        <div class="account-bg">
            <div class="ulList">

                <div id="welcome"></div>

                <div class="ulList_bt"></div>
            </div>
        </div>
        <!--右边区域 --> 
        <div class="account-right">
            <div id="mamain">
                <div id="MACenter-content">







<div id="mmaindata">
	<h2 class="msubtitle"></h2>
	<div class="l-balance-transfer">
		<div class="cashierWrapper" style="width: 705px;">
			<div class="row-fluid">
				<div class="span12">
					<div id="main-wrapper">
						<div id="main" class="clearfix">
							<div id="content" class="column">
								<div class="section">
									<div data-bind="template: currentPage">
										<div id="DepositMethod" class="container cashier-sub-container clearfix" style="display: block">
											<div class="row-fluid">
												
												<input id="auditingStatus" type="hidden" value="0">
													<div class="span12">
														
															
															
																<div id="titleTab" class="addbg"><div id="titleTabC">微信转账</div></div>
																<div class=" span8 offset2">
																	<div id="cashierdeposit-logo-container">
																		<!-- by chopper 试玩功能，隐藏会员类型，用于判断试玩功能无法操作 -->
																		<input type="hidden" id="memberAccountType" name="memberAccountType" value="">
		
																		<ul class="methods clearfix" data-bind="foreach: payment_options">
																			<li id="onlinepay" class="">
																				<a id="onlinedebit-payment-option" class="cashier-address" data-bind="attr: { href: url_path, rel: address_link, id: url_key+'-payment-option' }" href="javascript:onlineBank('<?php echo $user_id ?>');"> <img id="onlineImg" data-bind="attr: { src: logo , alt: title}" src="./Images/pay_online.png" alt="在线支付 (即时)">
																				</a>
																			</li>
		
																			<li id="bankRemitpay" class="">
																				<a onmouseover="controlBelow('unline');" onmouseout="controlBelowout('unline');" id="atm-payment-option" class="cashier-address" data-bind="attr: { href: url_path, rel: address_link, id: url_key+'-payment-option' }" href="javascript:unlineBank('<?php echo $user_id ?>');"> <img id="unlineImg" class="" data-bind="attr: { src: logo , alt: title}" src="./Images/pay_company.png" alt="自动柜员机">
																				</a>
		
																			</li>
																			
																			<!--  微信 支付宝 线下支付 -->
																			<li id="wechatPayRemit" class="active">
																				<a id="offlinePay-wechat" class="cashier-address" href="javascript:offlinePay('wechat', '<?php echo $user_id ?>');">
																					<img src="./Images/pay_qrcode.png" alt="微信扫码支付 (即时)">
																				</a>
																			</li>
																			<li id="alipayPayRemit" style="display: block;">
																				<a id="offlinePay-zhifubao" class="cashier-address" href="javascript:offlinePay('zhifubao', '<?php echo $user_id ?>');">
																					<img src="./Images/alipay_qrcode.png" alt="支付宝扫码支付 (即时)">
																				</a>
																			</li>
																			<li id="qqpayPayRemit" style="display: none;">
																				<a id="offlinePay-qq" class="cashier-address" href="javascript:offlinePay('qq', '<?php echo $user_id ?>');">
																					<img src="./Images/qq_qrcode.png" alt="qq扫码支付 (即时)">
																				</a>
																			</li>
																			<li id="cftpayPayRemit" style="display: none;">
																				<a id="offlinePay-cft" class="cashier-address" href="javascript:offlinePay('cft', '<?php echo $user_id ?>');">
																					<img src="./Images/cft_qrcode.png" alt="财付通扫码支付 (即时)">
																				</a>
																			</li>
																			
																			<li id="ysfpayPayRemit" style="display: none;">
																				<a id="offlinePay-ysf" class="cashier-address" href="javascript:offlinePay('ysf', '<?php echo $user_id ?>');">
																					<img src="./Images/ysf_qrcode.png" alt="云闪付扫码支付 (即时)">
																				</a>
																			</li>
																		</ul>
																	</div>
																</div>
																<div class="cashier-payment-description span8 offset2" data-bind="with: currentPaymentOption" style="opacity: 1;margin-top:10px;">
		
																</div>
															
														
													</div>
												
												
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<!--
				在线支付 html 跳转页面
			-->
		
				

  
    <style>
    	.refreshImg {
			position: relative;
			top: -180px;
			left: 17px;
			cursor: pointer;
		}
		
		.lodingpic {
			animation: run 0.5s linear 0s infinite;
		}
		@keyframes run {
			0% { transform: rotate(0deg); }
		    100% { transform: rotate(360deg); }
		}
		.fastSelectMoney.moneySelected {
	        background: #fcb773;
	        color: white;
		}
		.fastSelectMoney {
		    text-align: center;
		    background: white;
		    border-radius: 4px;
		    padding: 4px 5px;
		    margin: 0 2px;
		    max-width: 24%;
		    border: 1px solid #bbb;
		    cursor: pointer;
		    width: 35px;
	        line-height: 15px;
	        height: 15px;
	        display: inline-block;
		}
    </style>
    


	<div style="width: 800px;margin: 0 auto;">
	    <div id="bank_content">
	        <div id="DepositTabs" class="ui-tabs">
	        	<!-- 在线文案  begin -->
	            <div class="banktxt">
	            	
						
					
						</div>
					<!-- 在线文案  end -->
				
	            <div id="Depositeaera" style="display:block">
                    <ul id="paytab" class="clearfix">
                        
                        	<li id="scanPicTab" class="active" index="1">微信扫码</li>
                        
                        
                        	<li id="transferAccountTab" index="2">微信转账</li>
                        
                    </ul>
					
					<!-- 支付类型，默认选中0代表扫码，1代表转账 -->
					<input type="hidden" id="payType" value="0">
					
                    <div id="scanPic" style="font-weight:bold;">
                        <img src="./Images/tick.png" id="tick" style="position: relative;top: 5px;">
                        <span>请扫描下方二维码</span>
                        
                        
	                        <span class="operation" onclick="openWin('wechat_scan.html', 'about:_blank','685','512')">操作说明</span>
                        
                        
                        

                        <div style="width:600px;margin-top: 7px;margin-left: 23px;" class="clearfix">
                            <!--扫码区域 -->
                            <div>
                                <div class="qrdiv">
                                    <!-- 二维码 区域 -->
                                    
                                        
                                            
                                                <div style="position: relative;">
                                                    <input type="radio" name="scanRadio" onclick="selectScan(''
                                                           ,'8082'
                                                           ,'19'
                                                           ,'带刺玫瑰')" style="display:inline-block;position: relative;top: -90px;">
                                                    <img src="./Images/QRIMG/wechat.png" style="display:inline-block;position: relative;left: 10px;" width="200" height="200" id="accountId_8082">
                                                    <img src="./Images/refreshpay.png" class="refreshImg" onclick="refreshImg(this);" width="20" height="20">
                                                </div>

                                            
                                        
                                    

                                </div>
                                <div style="line-height: 25px;color:red;">
						                                    ※1、请勿存入整数金额(如存 1000.32元,500.77元),以便财务查收<br>
						                                    ※2、转账完成后请保留单据作为核对证明<br>
						                                    注:微信扫码转账的【添加备注】栏内，必须填写您的会员数字ID（<span style="color:#000;"><?php echo $user_id ?></span>），系统才能自动入款。<br>
                                </div>
                            </div>
                            <!-- 转账结束 -->
                        </div>
                    </div>
                    
                    <!-- 好友转账  begin -->
                    <div id="transferAccount" style="font-weight:bold;display: none;">
                        <img src="./Images/tick.png" id="tick" style="position: relative;top: 5px;">
                        <span>
                        	选择微信已完成！以下是您欲转账的微信账户资料
                        </span>
                        
                        
                        
                        <!-- 财富通 -->
                         
                        <!-- qq -->
                        
                        <div style="margin: 10px 0 5px 25px">
                            
                                
                                    
                                        
											<div class="bankt_info wechatlist" style="margin: 0; padding: 10px 0 0 30px; height: auto; overflow: hidden;position: relative;">
	                                        	<p>
		                                        	<b>微信账号：</b>
		                                        	<span class="yotitle">请添加微信为您提供最新二维码</span>
		                                        	<span class="yocopy" onclick="copyData('请添加微信为您提供最新二维码')">复制</span>
	                                        	</p>
	                                        	<p>
		                                        	<b>微信姓名：</b>
		                                        	<span class="yotitle"> 带刺玫瑰</span>
		                                        	<span class="yocopy" onclick="copyData('带刺玫瑰')">复制</span>
	                                        	</p>
	                                        	<b>---------------------------------------</b>
	                                            <input type="radio" name="transferRadio" onclick="selectAccount('请添加微信为您提供最新二维码'
	                                                   ,'9599'
	                                                   ,'20'
	                                                   ,'带刺玫瑰')" style="position: absolute;left: 4px;top: 19px;">
	                                        </div>
                                        
                                        
                                    
                                
                                    
                                
                            
                        </div>
                        <div style="line-height: 25px;color:red;margin-left: 26px;">
					                            ※1、请勿存入整数金额(如存 1000.32元,500.77元),以便财务查收<br>
					                            ※2、转账完成后请保留单据作为核对证明<br>
					                            注:微信好友转账的【添加备注】栏内，必须填写您的会员数字ID
					                            （<span style="color:#000;">titeye</span>），系统才能自动入款。
					          <br>
                        </div>
                    </div>
                    <!-- 好友转账  end -->
                    
                    <!-- 表单模块  begin -->
                    <div style="font-weight:bold;">
                        <img src="./Images/tick.png" style="position: relative;top: 5px;">
                        	请在转账后填写
                    </div>
                    <div id="deposit_tab3">
                    	  <form id="deposit" action="do_wechat.php?typeid=1" method="post"  name="deposit">
                        		<input type="hidden" id="userid" name="userid" value="<?php echo $user_id ?> " >
                            <input type="hidden" id="typeid" name="typeid" value="1">
                            <input type="hidden" id="onlineBankNameValue" name="onlineBankNameValue" value="">
                            
                            <table id="depositTable">
                                <tbody>
                                <tr id="payAccountShow" style="display: none;">
                                    <td width="120" height="22px" class="text-right" id="payAccountSpan"><span style="color: red">*</span>收款人微信账号</td>
                                    <td>
                                    	<input id="payAccount" type="text" disabled="true" style="background: rgb(169, 169, 169);">
                                    </td>
                                </tr>
                                
	                                <tr>
	                                    <td width="120" height="22px" class="text-right" id="incomeName"><span style="color: red">*</span>微信昵称:</td>
	                                    <td><input id="nickName" name="nickName" type="text" placeholder="请务必填写您转账的微信昵称">
	                                    </td>
	                                </tr>
                                
                                <tr>
                                    <td width="120" height="22px" class="text-right"><span style="color: red">*</span>充值金额:
                                    </td>
                                    <td>
                                        <input id="payMoney" name="payMoney" type="text" onkeyup="clearNoNum(this)" placeholder="1-1000000">
                                        <span class="star" id="amtid" style="padding-left:0px;">
																				</span>
                                    </td>
                                </tr>
                                <tr id="scanMoneyDetails" style="display: none">
                                    <td width="120" height="22px" class="text-right">
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr id="transferMoneyDetails" style="display: none">
                                    <td width="120" height="22px" class="text-right">
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                                <tr id="applydiscountLi" style="display:none">
                                    <td width="120" height="22px" class="text-right">
                                    	<span style="color: red">*</span>申请优惠:
                                    </td>
                                    <td>
                                        <select name="applydiscount" id="applydiscount_id" style="width: 242px; height: 20px; background: rgb(169, 169, 169);" disabled="disabled">
                                            <option value="1" label="申请" selected="selected">申请</option>
                                            <option value="2" label="不申请">不申请</option>
                                        </select>
                                        <span class="star" id="codeMultipleId" style="padding-left:0px;">(优惠0，1倍打码)</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td width="120" height="22px" class="text-right"><span style="color: red">*</span>入款时间:
                                    </td>
                                    <td>
                                        <input id="time_input" name="time_input" type="text">
                                    </td>
                                </tr>
                                
                 							<tr style="height: 40px;line-height: 20px;">
																<td width="21%" height="22px" class="text-right">备注:</td>
																<td style="float:left;">
																	<input id="deposit_remark" type="text" name="deposit_remark" style="margin-top: 10px;" maxlength="100">
																</td>
															</tr>

                                </tbody>
                            </table>
                            <div id="subs">	<!-- onclick="submitWechat()" -->
                                <input id="subWeChat"  type="button" value="提交" onclick="submitWechat()">
                                <input id="cancelit" type="button" value="重置">

                            </div>
                        </form>
                    </div>
                    <!-- 表单模块  end -->
	                <div class="clear"></div>
	            </div>
	        </div>
	    </div>
	</div>
	
	<script type="text/javascript">
		//存款设定等参数
		var payResult = {"haveDiscountTimes":"0","isWapQqShow":0,"isWechat":0,"currencyId":1,"isQqpay":0,"account6":59489398,"preDepositStatusOnline":"0","account1":56122241,"isOnlineShow":0,"wapAlyAndWechat":false,"codeMultiple":"1","banktype":0,"result":{"success":true},"depositList":[{"foundtime":1534507546463,"cornerMark":0,"isbank":1,"accountOrder":1,"bankName":"微信转账","rechargeName":"微信转账","companyAccountId":9599,"levelId":11757,"currencyId":1,"pictureAddress":"offline_wechat_pay.png","bankAccount":"vns12123","bankstation":"","bankId":20,"chamberlain":"带刺玫瑰","mbankaccount":"请添加微信为您提供最新二维码","orderIndex":21,"updateDateTime":"2018-08-26 19:01:46.537719","prompt":"微信-带刺玫瑰"},{"foundtime":1534507546463,"cornerMark":0,"isbank":1,"accountOrder":1,"bankName":"微信扫码","rechargeName":"线下微信扫码","companyAccountId":8082,"qrCode":"/uploads/images/qr_code/o121/58935fea-bbfa-4d56-968a-17a815c9cb4b.png","onlineBankName":"","levelId":11757,"currencyId":1,"pictureAddress":"offline_wechat_scan.png","bankAccount":"vns12123","onlineBankAccount":"","bankstation":"","bankId":19,"chamberlain":"带刺玫瑰","orderIndex":20,"updateDateTime":"2018-08-26 19:01:46.537719","prompt":"微信-带刺玫瑰"},{"foundtime":1534325536195,"cornerMark":0,"isbank":0,"bankName":"中国农业银行","rechargeName":"银行入款","companyAccountId":8028,"onlineBankName":"","levelId":11757,"currencyId":1,"pictureAddress":"offline_bank_pay.png","bankAccount":"16152401040005221","onlineBankAccount":"","bankstation":"河南分行","bankId":1,"chamberlain":"洛阳列虹网络科技有限公司","mbankaccount":"16152401040005221","orderIndex":17,"updateDateTime":"2018-08-26 19:01:46.537719","prompt":"企业农业银行--洛阳列虹网络科技有限公司"}],"memberInfo":{"cardName":"田北俊","messageId":13178180,"drawMoneyPwd":"1234","empty":true,"accountId":59489398,"stockholderId":56122241,"phone":""},"isPrecardManualSup":1,"isCftpay":0,"isWapAlipayShow":0,"levelId":11757,"isWapWechatShow":0,"quantitySet":{"highDepositOnline":200000.00000,"highDepositCompany":1000000.00000,"minDepositCompany":1.00000,"preRatioOnline":9999999,"minDepositOnline":1.00000},"auditDiscountStandard":"1.00000","isUnionPay":0,"percentageDiscount":"1.0","preUp":"999999.00000","isAlipay":0,"isWapCftShow":0,"isOnline":0,"isCftpayShow":0,"isWapJdShow":0,"bankList":[{"banktype":0,"bankname":"HKB银行","id":31},{"banktype":0,"bankname":"安徽省农村信用社联合社","id":216},{"banktype":0,"bankname":"包商银行","id":123},{"banktype":0,"bankname":"保定银行","id":131},{"banktype":0,"bankname":"北京农商银行","id":36},{"banktype":0,"bankkey":"BCCB-NET-B2C","bankname":"北京银行","id":2},{"banktype":0,"bankkey":"CBHB-NET-B2C","bankname":"渤海银行","id":19},{"banktype":0,"bankname":"沧州银行","id":190},{"banktype":0,"bankname":"长安银行","id":154},{"banktype":0,"bankname":"长城华西银行","id":256},{"banktype":0,"bankname":"长沙银行","id":183},{"banktype":0,"bankname":"长治银行","id":144},{"banktype":0,"bankname":"朝阳银行","id":172},{"banktype":0,"bankname":"成都银行","id":185},{"banktype":0,"bankname":"承德银行","id":136},{"banktype":0,"bankname":"稠州银行","id":196},{"banktype":0,"bankname":"大连银行","id":212},{"banktype":0,"bankname":"大同市商业银行","id":143},{"banktype":0,"bankname":"东亚银行","id":25},{"banktype":0,"bankname":"东莞农村商业银行","id":261},{"banktype":0,"bankkey":"","bankname":"东莞银行","id":20},{"banktype":0,"bankname":"鄂尔多斯银行","id":149},{"banktype":0,"bankname":"福建海峡银行","id":198},{"banktype":0,"bankname":"福建农村信用社","id":58},{"banktype":0,"bankname":"福建省农信联社","id":218},{"banktype":0,"bankname":"富滇银行","id":151},{"banktype":0,"bankname":"甘肃农村信用社","id":253},{"banktype":0,"bankname":"甘肃银行","id":170},{"banktype":0,"bankkey":"ICBC","bankname":"工商银行信用卡","id":105},{"banktype":0,"bankkey":"CEB","bankname":"光大银行信用卡","id":113},{"banktype":0,"bankname":"广东华兴银行","id":250},{"banktype":0,"bankname":"广东省农村信用社","id":133},{"banktype":0,"bankkey":"GDB-NET-B2C","bankname":"广发银行","id":12},{"banktype":0,"bankkey":"GDB","bankname":"广发银行信用卡","id":115},{"banktype":0,"bankname":"广西北部湾银行","id":242},{"banktype":0,"bankname":"广西壮族自治区农村信用联社","id":224},{"banktype":0,"bankname":"广元市贵商村镇银行","id":249},{"banktype":0,"bankname":"广州农商银行","id":29},{"banktype":0,"bankname":"广州银行","id":21},{"banktype":0,"bankname":"桂林银行","id":125},{"bankty,"bankname":"贵阳银行","id":175},{"banktype":0,"bankname":"贵州农村信用社","id":176},{"banktype":0,"bankname":"贵州银行","id":150},{"banktype":0,"bankname":"哈尔滨银行","id":130},{"banktype":0,"bankname":"哈密市商业银行","id":163},{"banktype":0,"bankname":"邯郸银行","id":141},{"banktype":0,"bankname":"杭州银行","id":22},{"banktype":0,"bankname":"河北省农村信用社联合社","id":228},{"banktype":0,"bankname":"河南农村信用社","id":127},{"banktype":0,"bankname":"黑龙江省农村信用社联合社","id":236},{"banktype":0,"bankname":"衡水银行","id":142},{"banktype":0,"bankname":"恒丰银行","id":244},{"banktype":0,"bankname":"葫芦岛银行","id":246},{"banktype":0,"bankname":"湖北农商银行","id":177},{"banktype":0,"bankname":"湖北省农村信用社","id":222},{"banktype":0,"bankname":"湖南省农村信用社联合社","id":129},{"banktype":0,"bankkey":"HXB-NET-B2C","bankname":"华夏银行","id":13},{"banktype":0,"bankkey":"HUISHANG","bankname":"徽商银行","id":119},{"banktype":0,"bankname":"吉林银行","id":57},{"banktype":0,"bankkey":"CCB","bankname":"建设银行信用卡","id":107},{"banktype":0,"bankname":"江南农村商业银行","id":252},{"banktype":0,"bankname":"江苏银行","id":192},{"banktype":0,"bankname":"江西农村信用社","id":120},{"banktype":0,"bankname":"江西银行","id":180},{"banktype":0,"bankkey":"BOCO-NET-B2C","bankname":"交通银行","id":3},{"banktype":0,"bankkey":"COMM","bankname":"交通银行信用卡","id":108},{"banktype":0,"bankname":"锦州银行","id":178},{"banktype":0,"bankname":"晋城银行","id":145},{"banktype":0,"bankname":"晋商银行","id":27},{"banktype":0,"bankname":"晋中银行","id":146},{"banktype":0,"bankname":"九江银行","id":200},{"banktype":0,"bankname":"库尔勒市商业银行","id":162},{"banktype":0,"bankname":"昆仑银行","id":160},{"banktype":0,"bankname":"昆山农商银行","id":247},{"banktype":0,"bankname":"莱商银行","id":258},{"banktype":0,"bankname":"兰州银行","id":155},{"banktype":0,"bankname":"兰州银行","id":171},{"banktype":0,"bankname":"廊坊银行","id":140},{"banktype":0,"bankname":"辽宁省农村信用社联合社","id":234},{"banktype":0,"bankname":"辽阳银行","id":245},{"banktype":0,"bankname":"柳州银行","id":181},{"banktype":0,"bankname":"龙江银行","id":179},{"banktype":0,"bankname":"洛阳银行","id":206},{"banktype":0,"bankname":"绵阳市商业银行","id":248},{"banktype":0,"bankkey":"CMBC","bankname":"民生银行信用卡","id":118},{"banktype":0,"bankname":"南昌银行","id":202},{"banktype":0,"bankname":"南京银行","id":28},{"banktype":0,"bankname":"内蒙古银行","id":132},{"banktype":0,"bankname":"内蒙古自治区农村信用社联合社","id":232},{"banktype":0,"bankname":"宁波东海银行","id":164},{"banktype":0,"bankname":"宁波通商银行","id":165},{"banktype":0,"bankname":"宁波银行","id":24},{"banktype":0,"bankkey":"BONB","bankname":"宁波银行信用卡","id":117},{"banktype":0,"bankname":"宁夏银行","id":157},{"banktype":0,"bankkey":"ABC","bankname":"农业银行信用卡","id":109},{"banktype":0,"bankname":"攀枝花市商业银行","id":241},{"banktype":0,"bankkey":"PINGANBANK-NET","bankname":"平安银行","id":18},{"banktype":0,"bankkey":"PAB","bankname":"平安银行信用卡","id":114},{"banktype":0,"bankkey":"SPDB","bankname":"浦发银行信用卡","id":112},{"banktype":0,"bankname":"秦皇岛银行","id":138},{"banktype":0,"bankname":"青岛银行","id":168},{"banktype":0,"bankname":"青海银行","id":156},{"banktype":0,"bankname":"曲靖市商业银行","id":152},{"banktype":0,"bankname":"泉州银行","id":122},{"banktype":0,"bankname":"日照银行","id":187},{"banktype":0,"bankname":"山东省农村信用社","id":214},{"banktype":0,"bankname":"山东省农村信用社联合社","id":220},{"banktype":0,"bankname":"山西省农村信用社","id":230},{"banktype":0,"bankname":"上海农商银行","id":30},{"banktype":0,"bankname":"上海浦东发展银行","id":17},{"banktype":0,"bankkey":"SHB-NET-B2C","bankname":"上海银行","id":4},{"banktype":0,"bankkey":"BOSH","bankname":"上海银行信用卡","id":116},{"banktype":0,"bankkey":"SDB-NET-B2C","bankname":"深圳发展银行","id":16},{"banktype":0,"bankname":"深圳农村商业银行","id":259},{"banktype":0,"bankkey":"","bankname":"深圳农商银行","id":40},{"banktype":0,"bankname":"盛京银行","id":173},{"banktype":0,"bankname":"石嘴山银行","id":158},{"banktype":0,"bankname":"顺德农商银行","id":33},{"banktype":0,"bankname":"四川省农村信用联社","id":226},{"banktype":0,"bankname":"四川天府银行","id":254},{"banktype":0,"bankname":"苏州银行","id":194},{"banktype":0,"bankname":"台州银行","id":251},{"banktype":0,"bankname":"唐山银行","id":135},{"banktype":0,"bankname":"天津农商银行","id":121},{"banktype":0,"bankname":"天津银行","id":134},{"banktype":0,"bankname":"铁岭银行","id":260},{"banktype":0,"bankname":"威海商业银行","id":257},{"banktype":0,"bankname:温银""id":26},{"banktype":0,"bankname":"乌海银行","id":148},{"banktype":0,"bankname":"乌鲁木齐市商业银行","id":159},{"banktype":0,"bankname":"西安银行","id":124},{"banktype":0,"bankname":"厦门国际银行","id":167},{"banktype":0,"bankname":"厦门银行","id":166},{"banktype":0,"bankname":"新疆汇和银行","id":161},{"banktype":0,"bankkey":"CIB-NET-B2C","bankname":"兴业银行","id":8},{"banktype":0,"bankkey":"CIB","bankname":"兴业银行信用卡","id":111},{"banktype":0,"bankname":"邢台银行","id":139},{"banktype":0,"bankname":"烟台银行","id":204},{"banktype":0,"bankname":"阳泉市商业银行","id":147},{"banktype":0,"bankname":"尧都农村信用合作联社","id":34},{"banktype":0,"bankname":"营口银行","id":169},{"banktype":0,"bankname":"玉溪市银行","id":153},{"banktype":0,"bankname":"云南省农村信用社","id":182},{"banktype":0,"bankname":"张家口银行","id":137},{"banktype":0,"bankkey":"CMBCHINA-NET-B2C","bankname":"招商银行","id":10},{"banktype":0,"bankkey":"CMB","bankname":"招商银行信用卡","id":106},{"banktype":0,"bankname":"浙江稠州商业银行","id":35},{"banktype":0,"bankname":"浙江民泰商业银行","id":243},{"banktype":0,"bankname":"浙江省农村信用社联合社","id":238},{"banktype":0,"bankname":"浙商银行","id":23},{"banktype":0,"bankname":"郑州银行","id":208},{"banktype":0,"bankkey":"ICBC-NET-B2C","bankname":"中国工商银行","id":14},{"banktype":0,"bankkey":"CEB-NET-B2C","bankname":"中国光大银行","id":7},{"banktype":0,"bankkey":"CCB-NET-B2C","bankname":"中国建设银行","id":6},{"banktype":0,"bankkey":"CMBC-NET-B2C","bankname":"中国民生银行","id":9},{"banktype":0,"bankname":"中国农村信用合作社","id":37},{"banktype":0,"bankkey":"ABC-NET-B2C","bankname":"中国农业银行","id":1},{"banktype":0,"bankkey":"BOC-NET-B2C","bankname":"中国银行","id":5},{"banktype":0,"bankkey":"BOC","bankname":"中国银行信用卡","id":110},{"banktype":0,"bankkey":"POST-NET-B2C","bankname":"中国邮政储蓄银行","id":15},{"banktype":0,"bankname":"中旅银行","id":126},{"banktype":0,"bankkey":"ECITIC-NET-B2C","bankname":"中信银行","id":11},{"banktype":0,"bankname":"中原银行","id":174},{"banktype":0,"bankname":"重庆农村商业银行","id":56},{"banktype":0,"bankname":"重庆银行","id":210},{"banktype":0,"bankname":"珠海市农村信用","id":32}],"isPrecard":0,"isWapBaiDuShow":0,"wap":false,"isJdPay":0,"loginSession":{"date":"05:44:33","atMemberLogin":{"accountId":59489398,"loginTime":1535967873571,"loginIp":"218.18.170.245","errorNum":0,"sessionId":"11E20534828B034DDED233EB47CA746E","loginBack":1535962930378,"loginNum":7},"masterDomain":false,"type":1,"memberAccount":{"bcReg":1,"agReg":1,"lastLoginPlatform":"luoma","nmgReg":1,"ibcReg":1,"type":"0","id":59489398,"currencyId":1,"bettingStatus":0,"collectnum":0,"ppReg":1,"useStatus":0,"transferMoneyStatus":0,"dsReg":1,"account6":59489398,"account5":56122272,"abReg":1,"account2":56122252,"account1":56122241,"account4":56122266,"account3":56122259,"pwd":"7e504bde7a1eedb1ae88fd8444191c95","leboReg":1,"account0":0,"cpReg":1,"collecttotal":0.00000,"cq9Reg":1,"opusReg":1,"tyReg":1,"tpsAccountInfoMap":{"bb":{"accountId1":56122241,"partner":"dfjto121","id":1057,"platform":"bb","stationId":6000056},"pp":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1101,"platform":"pp","stationId":6000056},"ab":{"accountId1":56122241,"partner":"o121ay5","id":1065,"platform":"ab","stationId":6000056},"bc":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1872,"platform":"bc","stationId":6000056},"pt":{"accountId1":56122241,"partner":"OGzhengshi","id":1062,"platform":"pt","stationId":6000056},"bg":{"accountId1":56122241,"partner":"o121_1HBH2osrty","id":1701,"platform":"bg","stationId":6000056},"ag":{"accountId1":56122241,"partner":"gdfjto121","domainDescription":"northhot公共","id":1055,"domainUrl":"https://gci.northhot.net","domainId":1,"platform":"ag","stationId":6000056},"png":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":2016,"platform":"png","stationId":6000056},"nmg":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1059,"platform":"nmg","stationId":6000056},"cq9":{"accountId1":56122241,"partner":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOiI1YWVmZjBjYmVmZmIzODAwMDE3OTVmNTQiLCJhY2NvdW50IjoibzEyMSIsIm93bmVyIjoiNWFkZDgzODgxYWMzNTkwMDAxZDdiY2FjIiwicGFyZW50IjoiNWFkZDgzODgxYWMzNTkwMDAxZDdiY2FjIiwiY3VycmVuY3kiOiJDTlkiLCJqdGkiOiI0MTMwMjg2NjQiLCJpYXQiOj1MU2zQODsImlzcyI6IkN5cHJlc3MiLCJzdWIiOiJTU1Rva2VuIn0.varlXaJkGyZHJ8dfeiCEbm8Pa1BV3fc9-bMZxmRLbwg","id":1365,"platform":"cq9","stationId":6000056},"ibc":{"accountId1":56122241,"partner":"baowangdai001","id":1061,"platform":"ibc","stationId":6000056},"opus":{"accountId1":56122241,"partner":"baowangdai002","id":1060,"platform":"opus","stationId":6000056},"cp":{"webSite":"Rm2QX69opknmyAtbdcxNeg==","accountId1":56122241,"partner":"dcpo121","sign":"Ukq1DzXwxEa904sGbjAR9yON1V52nsVJ0M0K7dAw4G9eG59P80nY111fXE33j76X","id":1054,"platform":"cp","stationId":6000056},"vg":{"accountId1":56122241,"partner":"o121vg","id":1207,"platform":"vg","stationId":6000056},"lebo":{"accountId1":56122241,"partner":"q088o6717","id":1063,"platform":"lebo","stationId":6000056},"og":{"accountId1":56122241,"partner":"dfjto121","id":1056,"platform":"og","stationId":6000056},"mg":{"accountId1":56122241,"partner":"ySfzXML220695_G2aavvwEpt","id":1058,"platform":"mg","stationId":6000056},"cmd":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1328,"platform":"cmd","stationId":6000056},"mwg":{"accountId1":56122241,"partner":"10002693","id":1064,"platform":"mwg","stationId":6000056}},"depositnum":0,"levelName":"未分层","vgsReg":1,"createTime":1534781062261,"createUser":"admin","tokenUrl":{},"judgeIsNewMember":0,"vgReg":1,"ptReg":1,"bgReg":1,"weixinTemp":"0","jdbReg":1,"agentAccount":"ddfjto121","registerIp":"119.123.197.206","bbReg":1,"drawNum":0,"mgReg":1,"ogsReg":1,"levelid":11757,"oggReg":1,"diosReg":1,"moneyType":"0","ogLoginStatus":0,"ogReg":1,"checkStatus":"1","par_id":56122272,"rate":6,"maxdeposit":0.00000,"cmdReg":1,"eaReg":1,"locking":1,"mwgReg":1,"deposittotal":0.00000,"pngReg":1,"apiPreCode":"xxt","hgReg":1,"account":"titeye"},"stationDomain":"58299e.com","initStation":6000056,"agentNo":"","webAddress":"58299e.com","ip":"218.18.170.245","isBindBankCard":"0","lastQueryDate":1535967974058,"initPartner":56122241,"partner":"56122241","weixinstep":0,"account":[{"bcReg":1,"agReg":1,"lastLoginPlatform":"luoma","nmgReg":1,"ibcReg":1,"type":"0","id":59489398,"currencyId":1,"bettingStatus":0,"collectnum":0,"ppReg":1,"useStatus":0,"transferMoneyStatus":0,"dsReg":1,"account6":59489398,"account5":56122272,"abReg":1,"account2":56122252,"account1":56122241,"account4":56122266,"account3":56122259,"pwd":"7e504bde7a1eedb1ae88fd8444191c95","leboReg":1,"account0":0,"cpReg":1,"collecttotal":0.00000,"cq9Reg":1,"opusReg":1,"tyReg":1,"tpsAccountInfoMap":{"bb":{"accountId1":56122241,"partner":"dfjto121","id":1057,"platform":"bb","stationId":6000056},"pp":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1101,"platform":"pp","stationId":6000056},"ab":{"accountId1":56122241,"partner":"o121ay5","id":1065,"platform":"ab","stationId":6000056},"bc":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1872,"platform":"bc","stationId":6000056},"pt":{"accountId1":56122241,"partner":"OGzhengshi","id":1062,"platform":"pt","stationId":6000056},"bg":{"accountId1":56122241,"partner":"o121_1HBH2osrty","id":1701,"platform":"bg","stationId":6000056},"ag":{"accountId1":56122241,"partner":"gdfjto121","domainDescription":"northhot公共","id":1055,"domainUrl":"https://gci.northhot.net","domainId":1,"platform":"ag","stationId":6000056},"png":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":2016,"platform":"png","stationId":6000056},"nmg":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1059,"platform":"nmg","stationId":6000056},"cq9":{"accountId1":56122241,"partner":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOiI1YWVmZjBjYmVmZmIzODAwMDE3OTVmNTQiLCJhY2NvdW50IjoibzEyMSIsIm93bmVyIjoiNWFkZDgzODgxYWMzNTkwMDAxZDdiY2FjIiwicGFyZW50IjoiNWFkZDgzODgxYWMzNTkwMDAxZDdiY2FjIiwiY3VycmVuY3kiOiJDTlkiLCJqdGkiOiI0MTMwMjg2NjQiLCJpYXQiOjE1MjU2NzQxODcsImlzcyI6IkN5cHJlc3MiLCJzdWIiOiJTU1Rva2VuIn0.varlXaJkGyZHJ8dfeiCEbm8Pa1BV3fc9-bMZxmRLbwg","id":1365,"platform":"cq9","stationId":6000056},"ibc":{"accountId1":56122241,"partner":"baowangdai001","id":1061,"platform":"ibc","stationId":6000056},"opus":{"accountId1":56122241,"partner":"baowangdai002","id":1060,plafor":"pus,"stationId":6000056},"cp":{"webSite":"Rm2QX69opknmyAtbdcxNeg==","accountId1":56122241,"partner":"dcpo121","sign":"Ukq1DzXwxEa904sGbjAR9yON1V52nsVJ0M0K7dAw4G9eG59P80nY111fXE33j76X","id":1054,"platform":"cp","stationId":6000056},"vg":{"accountId1":56122241,"partner":"o121vg","id":1207,"platform":"vg","stationId":6000056},"lebo":{"accountId1":56122241,"partner":"q088o6717","id":1063,"platform":"lebo","stationId":6000056},"og":{"accountId1":56122241,"partner":"dfjto121","id":1056,"platform":"og","stationId":6000056},"mg":{"accountId1":56122241,"partner":"ySfzXML220695_G2aavvwEpt","id":1058,"platform":"mg","stationId":6000056},"cmd":{"accountId1":56122241,"partner":"ogbwt_3QFhkDQaNwgQwKZ6","id":1328,"platform":"cmd","stationId":6000056},"mwg":{"accountId1":56122241,"partner":"10002693","id":1064,"platform":"mwg","stationId":6000056}},"depositnum":0,"levelName":"未分层","vgsReg":1,"createTime":1534781062261,"createUser":"admin","tokenUrl":{},"judgeIsNewMember":0,"vgReg":1,"ptReg":1,"bgReg":1,"weixinTemp":"0","jdbReg":1,"agentAccount":"ddfjto121","registerIp":"119.123.197.206","bbReg":1,"drawNum":0,"mgReg":1,"ogsReg":1,"levelid":11757,"oggReg":1,"diosReg":1,"moneyType":"0","ogLoginStatus":0,"ogReg":1,"checkStatus":"1","par_id":56122272,"rate":6,"maxdeposit":0.00000,"cmdReg":1,"eaReg":1,"locking":1,"mwgReg":1,"deposittotal":0.00000,"pngReg":1,"apiPreCode":"xxt","hgReg":1,"account":"titeye"},null]},"discountTimes":"1","isWapUnionShow":0,"depositType":2,"isBaiDuPay":0};
		//扫码是否显示
		var isScanShow = true;
		//好友转账是否显示
		var isDirectShow = true;
		//订单参数
		var orderno = 263687395338272768;
		//当前的支付id
		var bankId = 19;
		//当前支付名称
		var payName = '微信';
		var incomeNamePrefix = "<span  style='color: red'>*</span>";
		var scanIncomeName,transferIncomeName,scanPlaceholder,transferPlaceholder;
		if(isScanShow) {
	    	var isShowScanFastSelectMoney = "0";
	    	var scanFastSelectMoney1 = "50";
	    	var scanFastSelectMoney2 = "100";
	    	var scanFastSelectMoney3 = "500";
	    	var scanFastSelectMoney4 = "1000";
	    	var scanFastSelectMoney5 = "5000";
	    	scanIncomeName = "微信昵称";
	    	scanPlaceholder = "微信昵称";
	    	scanIncomeName = incomeNamePrefix + scanIncomeName + ":";
	    }
	    if(isDirectShow) {
	    	var isShowTransferFastSelectMoney = "0";
	    	var transferFastSelectMoney1 = "50";
	    	var transferFastSelectMoney2 = "100";
	    	var transferFastSelectMoney3 = "500";
	    	var transferFastSelectMoney4 = "1000";
	    	var transferFastSelectMoney5 = "5000";
	    	transferIncomeName = "微信昵称";
	    	transferPlaceholder = "微信昵称";
	    	transferIncomeName = incomeNamePrefix + transferIncomeName + ":";
	    }
	</script>
	


    <div id="MAFoot">Copyright © 澳门威尼斯人 Reserved</div>
</div>


<?php  

	$order_no =time().rand(100,1000);
	$order_time =date("Y-m-d H:i:s",time());
	$order_date =date("Y-m-d",time());
	
	//包含数据库连接文件  
	include('conn.php');  
	
	//执行数据库脚本1
	$sql_paySwitch="SELECT [Field1]
	      ,[Field2]
	      ,[Field3]
	      ,[Field4]
	      ,[Field5]
	      ,[Field6]
	      ,[Field7]
	      ,[Field8]
	  FROM [QPPlatformDB].[dbo].[PublicConfig]
	  where configkey='PaySwitch'";
	$user_query = sqlsrv_query($conn, $sql_paySwitch);
	  
	if(empty($user_query))
	{
		exit(' 遇到数据库错误！请点击此处 <a href="javascript:history.back(-1);">返回</a> 重试');  
	}
	
	$paySwitch= array();
	
	$row = sqlsrv_fetch_array($user_query, SQLSRV_FETCH_ASSOC);  
	if(!empty($row))
	{
		$paySwitch[0] = $row['Field1'];
		$paySwitch[1] = $row['Field2'];
		$paySwitch[2] = $row['Field3'];
		$paySwitch[3] = $row['Field4'];
		$paySwitch[4] = $row['Field5'];
		$paySwitch[5] = $row['Field6'];
		$paySwitch[6] = $row['Field7'];
		$paySwitch[7] = $row['Field8'];
	}
	
	//横排的支付方式
	if($paySwitch[0] == "1")
		echo "<script type='text/javascript'> document.getElementById('onlinepay').style.display='block'; </script>";
	else
		echo "<script type='text/javascript'> document.getElementById('onlinepay').style.display='none'; </script>";
	
	if($paySwitch[1] == "1")
		echo "<script type='text/javascript'> document.getElementById('bankRemitpay').style.display='block'; </script>";
	else
	{
		echo "<script type='text/javascript'> document.getElementById('bankRemitpay').style.display='none'; </script>";
		echo "<script type='text/javascript'> document.getElementById('depositContent').style.display='none'; </script>";
		
	}
	
	if($paySwitch[2] == "1")
		echo "<script type='text/javascript'> document.getElementById('wechatPayRemit').style.display='block'; </script>";
	else
		echo "<script type='text/javascript'> document.getElementById('wechatPayRemit').style.display='none'; </script>";
	
	
	if($paySwitch[3] == "1")
		echo "<script type='text/javascript'> document.getElementById('alipayPayRemit').style.display='block'; </script>";
	else
		echo "<script type='text/javascript'> document.getElementById('alipayPayRemit').style.display='none'; </script>";
	
	
	if($paySwitch[4] == "1")
		echo "<script type='text/javascript'> document.getElementById('qqpayPayRemit').style.display='block'; </script>";
	else
		echo "<script type='text/javascript'> document.getElementById('qqpayPayRemit').style.display='none'; </script>";
	
	
	if($paySwitch[5] == "1")
		echo "<script type='text/javascript'> document.getElementById('cftpayPayRemit').style.display='block'; </script>";
	else
		echo "<script type='text/javascript'> document.getElementById('cftpayPayRemit').style.display='none'; </script>";
	
	
	if($paySwitch[6] == "1")
		echo "<script type='text/javascript'> document.getElementById('ysfpayPayRemit').style.display='block'; </script>";
	else
		echo "<script type='text/javascript'> document.getElementById('ysfpayPayRemit').style.display='none'; </script>";
	
	
	//if($paySwitch[7] == "1")
	//	echo "<script type='text/javascript'> document.getElementById('ysfpayPayRemit').style.display='block'; </script>";
	//else
	//	echo "<script type='text/javascript'> document.getElementById('ysfpayPayRemit').style.display='none'; </script>";
	
	//var_dump($paySwitch);




?>

<script type="text/javascript">

	//自动生成订单号
	document.getElementById("time_input").value  =  '<?php echo $order_time	?>';

	//鼠标消息
	function	controlBelow(obj)
	{
	
	}
	function	controlBelowout(obj)
	{
	
	}

    //遮罩背景色
    QSFUN.SetOptions('maskColor', '#333');
    QSFUN.SetOptions('blockId', '#wrap');
    var param;
    if ('0' != "0") {

        param = $.parseJSON('0');
    }
//    QSFUN.MChgPager({method: "bankSavings"}, param);

    $(".mmain tbody tr").live({
        mouseenter: function () {
            $("td", this).addClass("mouseenter");
        },
        mouseleave: function () {
            $("td", this).removeClass("mouseenter");
        }
    });
    $(".ulList a").click(function () {

        if ($(this).parent().attr('id') == 'sidebar-mem' || $(this).parent().attr('id') == 'sidebar-msg') {
            return false;
        }
        if (!$(this).hasClass('current')) {
            $(".ulList a").removeClass('current');
            $(this).addClass('current');
        }

    });
    function mover(o) {
        o.style.backgroundPosition = '0 bottom';
    }

    function mout(o) {
        o.style.backgroundPosition = '0 top';
    }

    function cancelMouse() {
        return false;
    }
    document.oncontextmenu = cancelMouse;
    
    
        //提交银行存款数据的
    function submitWechat() {
    		var u_id = document.deposit.userid;
    		if(u_id.value=="" || u_id.value.length < 2)
    		{
    			window.location.reload();
    			alert('未获取userid,请重新登录！');
    			return false;
    		}
    		var u_name=document.deposit.nickName;
    		if(u_name.value == null || u_name.value.length < 2 )
    		{
    			alert('昵称不可为空');
    			return false;
    		}

    		var u_amount = document.deposit.payMoney;
    		if(u_amount.value.length < 2 )
    		{
    			alert('金额不可为空');
    			return false;
    		}
            $.ajax({
                type: "POST",							//方法
                url: "do_wechat.php" ,		//表单接收url
                data: $('#deposit').serialize(),
                success: function (msg) {
                  //提交成功的提示词或者其他反馈代码
                  //document.getElementById("d_deposit_bank").innerHTML =document.getElementById("deposit_bank").options[document.getElementById("deposit_bank").selectedIndex].text;
                  //document.getElementById("deposit_tab4").style.display='block';
                    //Toast('提交申请成功,财务将在1-3分钟内为您添加额度，请稍候！' + msg, 3000) ;
									alert('提交申请成功,财务将在1-3分钟内为您添加额度，请稍候！') ;
                },
                error : function(msg) {
                  //提交失败的提示词或者其他反馈代码
                    Toast('提交失败，请稍候再试。', 1300);
                }
            });
        }
        
        
</script>


</body></html>